﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using UIWindows.Enums;

namespace UIWindows.Models.ParameterModels
{
    public class MesRunParameterModel : INotifyPropertyChanged
    {
        public int ID { get; set; }
        /// <summary>
        /// 开机参数编码
        /// </summary>
        [Description("开机参数编码")]
        public string ParamCode { get; set; } = string.Empty;
        /// <summary>
        /// 开机参数名称
        /// </summary>
        [Description("开机参数名称")]
        public string ParamName { get; set; } = string.Empty;
        /// <summary>
        /// 开机参数值
        /// </summary>
        [Description("开机参数值")]
        public float ParamValue { get; set; }
        /// <summary>
        /// 数据类型
        /// </summary>
        [Description("数据类型")]
        public string DataType { get; set; } = string.Empty;
        /// <summary>
        /// 对应本地属性
        /// </summary>
        [Description("对应本地属性")]
        public string SendType { get; set; } = string.Empty;
        public bool IsEnable { get; set; } = true;
        public event PropertyChangedEventHandler? PropertyChanged;
    }
}
